home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-12-24 | 1.6 KB | 64 lines |
- # Makefile for JACAL: Symbolic Mathematics System.
- # Copyright (C) 1990, 1991, 1992 Aubrey Jaffer.
- # See the file "COPYING" for terms applying to this program
-
- SHELL = /bin/sh
- cfiles = scl.scm math.scm
- sfiles = vect.scm parse.scm ext.scm norm.scm builtin.scm poly.scm \
- sexp.scm types.scm func.scm hist.scm toploads.scm unparse.scm \
- grammar.scm sect.scm
- gfiles = stdgrm.scm
- mfiles = ANNOUNCE README COPYING Makefile ChangeLog code.doc demo
- allfiles = $(mfiles) $(sfiles) $(cfiles) $(gfiles)
- #tfiles are TeX files in subdirectory manual.
- tfiles = manual.tex macros.tex cmds.tex relnotes.tex
- # Common Lisp not currently supported.
- lfiles = scl.lisp math.lisp compilem.lisp
-
- tags: $(sfiles) $(cfiles) $(gfiles)
- etags $(cfiles) $(sfiles) $(gfiles)
-
- #how do I say manual/$(tfiles) ?
- manual.dvi: manual
- cd manual; tex manual
-
- dist: tar.Z
- tar.Z: jacal.tar.Z
- jacal.tar.Z: jacal.tar
- -rm -f jacal.tar.Z
- compress jacal.tar
- shar.Z: jacal.shar.Z
- jacal.shar.Z: jacal.shar
- -rm -f jacal.shar.Z
- compress jacal.shar
-
- tar: jacal.tar
- jacal.tar: temp/jacal
- cd temp; tar chf ../jacal.tar jacal
- -rm -rf temp
- shar: jacal.shar
- jacal.shar: temp/jacal
- cd temp; shar jacal >../jacal.shar
- dclshar: jacal.com
- com: jacal.com
- jacal.com: temp/jacal
- cd temp; dclshar jacal >../jacal.com
- zip: jacal.zip
- jacal.zip: temp/jacal
- cd temp; zip -ru ../jacal.zip jacal
- -rm -rf temp
-
- temp/jacal: $(allfiles)
- -rm -rf temp
- mkdir temp
- mkdir temp/jacal
- ln $(allfiles) temp/jacal
- mkdir temp/jacal/manual
- cd manual; ln $(tfiles) ../temp/jacal/manual
-
- clean:
- -rm -f *~ *.orig *.rej eval_* core a.out *.o \#*
- distclean: realclean
- realclean:
- -rm -f *~ *.orig *.rej eval_* TAGS core a.out *.o \#*
-